[][src]Crate metrics_exporter_http

Exports metrics over HTTP.

This exporter can utilize observers that are able to be converted to a textual representation via [Drain<String>]. It will respond to any requests, regardless of the method or path.

Run Modes

  • run can be used to block the current thread, running the HTTP server on the configured address
  • into_future will return a Future that when driven will run the HTTP server on the configured address

Structs

HttpExporter

Exports metrics over HTTP.